- 
		Home
	
- 
Jetpack – WP Security, Backup, Speed, & Growth
- 
13.4.2
- 
Code
- 
Classes
-  Waf_Runtime 
		
			
				
					
													
								
																			
											| Total Complexity | 143 | 
																			
											| Dependencies | 7 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 801 | 
																			
											| Lines of code | 446 | 
																			
											| Logical lines of code | 296 | 
																	
							 
													
								
																			
											| Comment lines | 276 | 
																			
											| Methods | 26 | 
																			
											| Properties | 12 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 26
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| normalize_targets() | C | 37 | 28 | 67 | 
					
				| meta() | C | 36 | 24 | 80 | 
					
				| write_blocklog() | A | 47 | 12 | 30 | 
					
				| normalize_array_target() | A | 47 | 10 | 35 | 
					
				| update_targets() | A | 51 | 10 | 28 | 
					
				| match_targets() | A | 47 | 8 | 35 | 
					
				| is_ip_in_array() | S | 57 | 5 | 17 | 
					
				| block() | S | 57 | 5 | 15 | 
					
				| key_matches() | S | 61 | 5 | 12 | 
					
				| write_blocklog_row() | S | 58 | 4 | 15 | 
					
				| rule_removed() | S | 63 | 4 | 11 | 
					
				| flag_target_for_removal() | S | 63 | 4 | 10 | 
					
				| connect_to_wordpress_db() | S | 61 | 3 | 12 | 
					
				| state_values() | S | 63 | 3 | 10 | 
					
				| __construct() | S | 69 | 2 | 7 | 
					
				| get_request_headers() | S | 66 | 2 | 8 | 
					
				| flag_rule_for_removal() | S | 69 | 2 | 7 | 
					
				| get_var() | S | 73 | 2 | 5 | 
					
				| inc_var() | S | 70 | 2 | 6 | 
					
				| dec_var() | S | 70 | 2 | 6 | 
					
				| redirect() | S | 72 | 1 | 5 | 
					
				| set_var() | S | 80 | 1 | 3 | 
					
				| unset_var() | S | 80 | 1 | 3 | 
					
				| normalize_header_name() | S | 78 | 1 | 3 | 
					
				| args_names() | S | 67 | 1 | 9 | 
					
				| sanitize_output() | S | 65 | 1 | 7 |